<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of NewsComponentBean
 *
 * @author jhonny
 */
class NewsComponentTag {
    private $style;
    private $data;
    
    public function __construct() {
    }
    public function getData() {
        return $this->data;
    }

    public function setData($data) {
        $this->data = $data;
    }


    public function getStyle() {
        return $this->style;
    }

    public function setStyle($style) {
        $this->style = $style;
    }


    public function toString() {
        $value='';
        $value.=
'<div class="'.$this->getStyle().'">
    '.$this->getData().' 
</div>
';
        return $value;
    }
}
?>
